<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{if $title}><{$title}>,<{$config.company}><{else}><{$config.title}>,<{$config.company}><{/if}></title>
<meta name="description" content="<{$config.description|regex_replace:"/[\r\t\n]/":""}>" />
<meta name="keywords" content="<{$config.keyword|regex_replace:"/[\r\t\n]/":""}>" />
<meta name="author" content="庆丰裕软件工作室" />
<meta name="copyright" content="庆丰裕软件工作室" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link type="text/css" rel="stylesheet" href="<{$config.weburl}>/templates/default/page.css">
<link type="text/css" rel="stylesheet" href="<{$config.weburl}>/module/product/templates/pro.css">
<script src="<{$config.weburl}>/script/prototype.js" type="text/javascript"></script>
<script src="<{$config.weburl}>/script/index.js" type="text/javascript"></script>
</head>
<body>
<div id="header">
  <div id="logosearch">
    <div class="ls_top">
    <ul id="hr">
	<{if $smarty.cookies.USER}>
		<li><a href="<{$config.weburl}>/main.php"/><span><{$smarty.cookies.USER}>你好!</span>  我的商务办公室</a></li>
		<li><a href="<{$config.weburl}>/main.php?action=logout"/>退出</a></li>
	<{else}>
		<li><a href="<{$config.weburl}>/<{$config.regname}>">注册</a></li>
		<li><a href="<{$config.weburl}>/login.php">登录</a></li>
	<{/if}>
		<li><a href="<{$config.weburl}>/aboutus.php">帮助</a></li>
		<li><a href="<{$config.weburl}>">返回主站</a></li>
    </ul>
	<a href="<{$config.weburl}>/?m=product" id="s_logo" class='fl'>
	<img src="<{if $config.logo}><{$config.logo}><{else}><{$config.weburl}>/image/default/logo.gif<{/if}>" /></a>
    </div>
    <div id="search_bar">
        <form method="get" action="<{$config.weburl}>/?key=<{$smarty.get.key}>&m=product&s=product_list&search_type=<{$smarty.get.search_type}>&catid=<{$smarty.get.s_catid}>">
          <div class="fast_sear">
            <input id="search_key" value="<{$smarty.get.key}>" type="text" name="key"  autocomplete="off" />
            <input id="m" name="m" type="hidden" value="product" />
            <{if $smarty.get.id}><input name="id" type="hidden" value="<{$smarty.get.id}>" /><{/if}>
            <input id="s" name="s" type="hidden" value="product_list" />
          </div>
          <div class="search_type" id="searchTypeBox">
            <input id="search_type_in" value="<{if $smarty.get.search_type!=''}><{$smarty.get.search_type}><{else}>所有类别<{/if}>" name="search_type" readonly="readonly" onclick="cate_drop_show();" style="width:215px;" />
            <input type="hidden" name="catid" id="search_catid" value="<{$smarty.get.catid}>" />
            <div class="search_type_drop" id="type_drop" style="*margin-top:0.09em;" onclick="cate_drop_show();"></div>
            <div id="catalogListBox" class="search-category" style="display:none; position:relative">
            <ul class="search-category-list" style="">
              <li>所有类别</li>
              <li class="sub-line"></li>
			  <{insert name="label" type="cat" temp="pro_cat_shop"}>
            </ul>
            </div>
          </div>
          <div class="fast_r">
            <input class="search_btn" type="submit" value=" 搜　索 " style="float:left; vertical-align:text-bottom" />
            <a href="<{$config.weburl}>/search.php?stype=2" style="margin-left:10px;float:left; margin-top:4px;">高级搜索</a> </div>
           <div class="gwc"><a href="javascript:void(0)">购物车<span>0</span></a></div>
      </form>
    </div>
  </div>
  <div id="nav">
    <div class="nav_all_cat" id="all_cat">
	<a href="<{$config.weburl}>/?m=product&s=product_list" style="margin-left:7px;font-weight:bold;font-size:13px;">产品类别</a>
		<{if $smarty.get.s}>
			<ul id="all_cate_list" class="cat_list_show cat_show_in" style="display:none; margin-left:-1px;">
		<{else}>
			<ul id="all_cate_list" class="cat_list_show cat_show_in" style=" margin-left:-1px;">
		<{/if}>
		<{insert name="label" type="cat" temp="pro_cat_shop_left"}>
		</ul>
    </div>
  </div>
      <div class="s_nav_list">
  		<span> &nbsp;&nbsp;热门搜索：</span><{insert name="label" type="searchword" temp="search_word" limit=10}>
    </div>
</div>